package com.example.myui.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/1/25/025.
 */

public class Bean implements Serializable {


    private String id;
    private String pt_name;
    private String pid;
    private List<ChildBeanX> child_;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPt_name() {
        return pt_name;
    }

    public void setPt_name(String pt_name) {
        this.pt_name = pt_name;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public List<ChildBeanX> getChild_() {
        return child_;
    }

    public void setChild_(List<ChildBeanX> child_) {
        this.child_ = child_;
    }

    public static class ChildBeanX {
        /**
         * id : 22
         * pt_name : 后端开发
         * pid : 1
         * child : [{"id":"35","pt_name":"Java","pid":"22"},{"id":"36","pt_name":"PHP","pid":"22"},{"id":"37","pt_name":"C++","pid":"22"},{"id":"38","pt_name":"Python","pid":"22"},{"id":"39","pt_name":".NET","pid":"22"},{"id":"40","pt_name":"C#","pid":"22"},{"id":"41","pt_name":"C","pid":"22"},{"id":"42","pt_name":"数据挖掘","pid":"22"},{"id":"43","pt_name":"Node.js","pid":"22"},{"id":"44","pt_name":"Hadoop","pid":"22"},{"id":"45","pt_name":"Golang","pid":"22"},{"id":"46","pt_name":"算法工程师","pid":"22"},{"id":"47","pt_name":"自然语言处理","pid":"22"},{"id":"48","pt_name":"语音/视频/图形开发","pid":"22"},{"id":"49","pt_name":"Ruby","pid":"22"},{"id":"50","pt_name":"Erlang","pid":"22"},{"id":"51","pt_name":"数据采集","pid":"22"},{"id":"52","pt_name":"Delphi","pid":"22"},{"id":"53","pt_name":"VB","pid":"22"},{"id":"54","pt_name":"推荐算法","pid":"22"},{"id":"55","pt_name":"搜索算法","pid":"22"},{"id":"56","pt_name":"Perl","pid":"22"}]
         */

        private String id;
        private String pt_name;
        private String pid;
        private List<ChildBean> child;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPt_name() {
            return pt_name;
        }

        public void setPt_name(String pt_name) {
            this.pt_name = pt_name;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public List<ChildBean> getChild() {
            return child;
        }

        public void setChild(List<ChildBean> child) {
            this.child = child;
        }

        public static class ChildBean {
            /**
             * id : 35
             * pt_name : Java
             * pid : 22
             */

            private String id;
            private String pt_name;
            private String pid;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPt_name() {
                return pt_name;
            }

            public void setPt_name(String pt_name) {
                this.pt_name = pt_name;
            }

            public String getPid() {
                return pid;
            }

            public void setPid(String pid) {
                this.pid = pid;
            }
        }
    }
}
